s=2000
sale=int(input("请输入销售额:"))
if sale%1000==0:
    k=sale/1000
else:
    k=sale/1000+1
if k>3 and k<7:
    s+=sale*0.1
elif k>7 and k<=10:
    s+=sale*0.15
elif k>10:
    s+=sale*0.2
print("薪水总计:{}".format(s))